"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.proxyAxios = void 0;
const axios_1 = __importDefault(require("axios"));
const agent_1 = __importDefault(require("https-proxy-agent/dist/agent"));
function proxyAxios() {
    const httpsAgent = new agent_1.default(`http://localhost:10809`);
    const axios = axios_1.default.create({
        proxy: false,
        httpsAgent
    });
    return axios;
}
exports.proxyAxios = proxyAxios;
